* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Feb 2013 03:33:55 +0000 (07:33 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 14 Feb 2013 03:33:55 +0000 (07:33 +0400)
commita3f75f8b59f47cbff219a80ff2b93e123696b3db
treee0167ded794ddd4b372da9c8bc56d3ccdb2a654e
parent709c2b877e18915881e20c78a9aac8df146d83c0
* lisp/progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
depth for unfinished percent literal.  Not using it in the caller.
(ruby-move-to-block): Jump over multiline literals of all types,
ignoring code-looking contents inside them.

* test/automated/ruby-mode-tests.el
(ruby-move-to-block-skips-percent-literal): Add depth-affecting
bits inside the examples.
(ruby-move-to-block-skips-heredoc): New test.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/ChangeLog
test/automated/ruby-mode-tests.el